<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>资产信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_openDownloadHcExcelTemplate()">
                            <i class="glyphicon glyphicon-download-alt"></i>
                            模板
                        </button>

                        <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_exitCommunityData()">
                            <i class="glyphicon glyphicon-floppy-save"></i>
                            资产导出
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div>
                        <div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">选择文件</label>
                                <div class="col-sm-10">
                                    <!--<input ref="excelTemplate" type="file" placeholder="必填，请选择数据文件"
                                           class="form-control"
                                           name="excelTemplate"
                                           v-on:change="getExcelTemplate($event)"
                                           accept=".xls,.xlsx"
                                    >-->

                                    <div class="custom-file">
                                        <input id="excelTemplate" ref="excelTemplate" type="file" class="custom-file-input form-control"
                                               name="excelTemplate"
                                               v-on:change="getExcelTemplate($event)"
                                               accept=".xls,.xlsx"
                                        >
                                        <label for="excelTemplate" class="custom-file-label">{{assetImportInfo.excelTemplate==''?'必填，请选择数据文件':assetImportInfo.excelTemplate.name}}</label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">备注</label>
                                <div class="col-sm-10">
                                <textarea v-model="assetImportInfo.remark" type="text" placeholder="请填写备注信息" rows="3"
                                          class="form-control"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-10"></div>
        <div class="col-md-2 " style="margin-bottom:10px; text-align:right">
            <button type="button" class="btn btn-primary"
                    v-on:click="_importData()">导入
            </button>
        </div>
    </div>
</div>